package com.ln.property_control.utils;

/**
 * 资产状态枚举
 */
public enum PropertyStatusEnum {

    UNUSED(0,"闲置"),
    RECEIVE(1,"领用"),
    BORROW(2,"借用"),
    TRANSFER(3,"转移"),
    INTRANSFER(4,"转移中"),
    UNTRANSFER(5,"转移终止"),
    MAINTENANCE(6,"维修中"),
    SCRAPSUSPENSION(7,"维修终止"),
    SCRAP(8,"报废");

    private Integer state;
    private String name;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    PropertyStatusEnum(Integer state, String name) {
        this.state = state;
        this.name = name;
    }
}

